import { ClassList, ClassParam } from '../../types/jobs/classList';
import fetch, { BaseResponse } from '../index';
/**
 * 获取班级列表
 * @param  ClassParam
 * @returns ClassList
 */
export async function getClasslist(param: ClassParam): Promise<BaseResponse<ClassList>> {
  const { data } = await fetch.get<BaseResponse<ClassList>>('/xuefu/oaphone/homework/classlist', { ...param });
  return data;
}
